﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>收件箱 - 阿里芝麻网络相册</title>
<link rel="stylesheet" type="text/css" href="css/common.css" />
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/message.js"></script>
<link href="css/default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">#parse("navigation.html")
#parse("myneck.html")
<div id="content2">
<div class="centerform">
<h2>短消息</h2>
<p>收件箱 <a href="outbox.html">发件箱</a> <a href="newMessage.html">撰写新消息</a></p>

<form action="inbox.html" name="form1">
<table width="600" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<th>发件人</th>
		<th>主题</th>
		<th>发送时间</th>
		<th>选择</th>
	</tr>
	#foreach($message in $inbox) #if($!{message.flag}!="out")
	<tr>
		<td>#if($!{message.sender}=="系统消息") 系统消息 #else <a
			href="userHome.html?userId=$!{message.senderId}">$!{message.sender}</a>
		#end</td>
		<td>#if($!{message.state}=="1") <a
			href="showMessage.html?messageId=$!{message.id}&flag=out">$!{message.title}</a>
		#else <b><a
			href="showMessage.html?messageId=$!{message.id}&flag=out">$!{message.title}</a></b>
		#end</td>
		<td>$dateTool.format("SHORT", $!{message.sendTime})</td>
		<td><input type="checkbox" name="inbox" value="$!{message.id}" /></td>
	</tr>
	#end #end
	<tr>
		<td colspan="4">#pagination()</td>
	</tr>
	<tr>
		<td colspan="4"><input type="button" name="selectAll" value="全选"
			onClick="selectAll('inbox')" /> <input type="button" name="deSelect"
			value="全清" onClick="deSelect('inbox')" /> <input type="submit"
			value="删除选中的消息" /></td>
	</tr>

</table>
</form>

</div>
</div>
#parse("footer.html")</div>
</body>
</html>
